home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / Scripting-Tools / js15full.exe / Alert.ht_ / Alert.ht
Encoding:
Text File  |  1998-04-02  |  1.2 KB  |  31 lines

  1. <!--- Java Script code by Java Script It! - http://www.computan.on.ca/~todd/JavaScriptIt! -->
  2.  
  3. <html>
  4.  
  5. <head>
  6. <title>Alert</title>
  7. </head>
  8.  
  9. <body bgColor="#FFFFFF" text="000000">
  10.  
  11. <div align=center><font size=6 font="Arial"><b>Alert</b></font></div><p>
  12.  
  13.  
  14. Click <a href="JavaScript: alert('Type your custom message in here.')">hyperlink</a> to see an example of an alert dialogue box.<p>
  15.  
  16. <a href="JavaScript: alert('Type your custom message in here.')"><img alt="Java Script It!" src="js-iconb.gif" align=middle border=0></a> Click the image to see an example of another alert dialogue box. <p>
  17.  
  18. You can also trigger an alert dialogue box through a form button...<br>
  19. <form><input type=button value="Click Me!" onClick="alert('Type your custom message in here.')"></form><p>
  20.  
  21. <b>Browser Compatibility</b><br>
  22. ò Works fully in Netscape Navigator 2.01 and higher<br>
  23. ò Works fully in Microsoft Internet Explorer 3.0 and higher<br>
  24. ò Old browsers may display the button as text because they do not understand form buttons (that is if you choose to make a button)<br>
  25. ò Old browsers will also display a URL not found dialogue box when hyperlink hyperlink is clicked
  26.  
  27. </body>
  28.  
  29.  
  30. </html>
  31.  
  32.  
  33.